package cn.lanqiao.bigDate.entity.sys;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.Date;
import java.util.List;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
/**
 * @description 用户和角色关联表
 * @author yang
 * @date 2022-03-13
 */
@Data
@ApiModel("用户和角色关联表")
public class SysUserRole implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(type = IdType.AUTO)
    @ApiModelProperty("id")
    private Long id;

    /**
    * 用户id
    */
    @ApiModelProperty("用户id")
    private Long userId;

    /**
    * 角色id
    */
    @ApiModelProperty("角色id")
    private Long roleId;

    public SysUserRole() {}
}